package com.tyk.bookstore.front.auth.model.query;

import com.tyk.bookstore.front.common.other.code.msg.model.enume.MsgCodeType;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

/**
 * @author tyk
 * @description MsgCodeSendWithBehaviorCheckQuery
 */
@Data
public class MsgCodeSendWithBehaviorCheckQuery {

    @NotBlank
    @Schema(description = "行为验证码校验参数")
    private String verifyParam;

    @Schema(description = "主体[账号/邮箱/手机号]")
    @NotBlank
    private String principal;

    @Schema(description = "验证码类型[0手机号,1邮箱]")
    @NotNull
    private MsgCodeType type;

}
